package com.tool.cn.util;

/**
 * 
 * @author wangzonghui
 * @date 2021-09-06 15:49:59
 * @Description 线程工具类
 */
public final class ThreadUtil {

	/**
	 * 本机物理线程数*2
	 * @return
	 */
	public static int threadSize() {
		return Runtime.getRuntime().availableProcessors()*2;
	}
}
